import {dmServer} from '../tools/server'

export class userService {
  static login (data) {
    return dmServer.connection('post', '/user/login', data)
  }

  static register (data) {
    return dmServer.connection('POST', '/user/register', data)
  }

  static findAllUser (data) {
    return dmServer.connection('POST', '/user/findAllUser', data)
  }
}
